#ifndef _AC4315_H_
#define _AC4315_H_
#include "stdint.h"

#define AC4315_ADDRESS	      0x54

uint8_t crc5_epc(uint8_t *data, uint16_t length);
void CrcCompute(uint8_t * txbuffer);
uint16_t bitoneCount(uint16_t n);
uint16_t dataEncode(uint16_t n);

#endif
